package com.example.choupaiapp.main.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2019/12/18.
 */

public class PublishGuideBean implements Serializable {

    /**
     * msg : success
     * code : 0
     * list : [{"id":1,"title":"标题1","content":"内容1","image":"http://qiniu.qmdl666.com/19935329049N201992010272697.jpg","weight":0,"createTime":null},{"id":2,"title":"标题2","content":"内容2","image":"http://qiniu.qmdl666.com/19935329049N201992010272697.jpg","weight":0,"createTime":null},{"id":3,"title":"标题3","content":"内容3","image":"http://qiniu.qmdl666.com/19935329049N201992010272697.jpg","weight":0,"createTime":null},{"id":4,"title":"标题4","content":"内容4","image":"http://qiniu.qmdl666.com/19935329049N201992010272697.jpg","weight":0,"createTime":null}]
     */

    private String msg;
    private int code;
    private List<ListBean> list;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable{
        /**
         * id : 1
         * title : 标题1
         * content : 内容1
         * image : http://qiniu.qmdl666.com/19935329049N201992010272697.jpg
         * weight : 0
         * createTime : null
         */

        private int id;
        private String title;
        private String content;
        private String image;
        private int weight;
        private Object createTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }

        public Object getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Object createTime) {
            this.createTime = createTime;
        }
    }
}
